package com.example.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.entity.Students;
import com.example.entity.StudentsVO;
import com.example.mapper.StudentManageMapper;
import com.example.service.StudentManageService;
@Service
public class StudentManageServiceImpl implements StudentManageService{

	@Autowired 
	private StudentManageMapper studentManageMapper;
	
	@Override
	public int upwlstudent(Students students) {
		// TODO Auto-generated method stub
		return studentManageMapper.upwlstudent(students);
	}

	@Override
	public int upstudentmanage(StudentsVO studentsVO) {
		// TODO Auto-generated method stub
		return studentManageMapper.upstudentmanage(studentsVO);
	}

	@Override
	public int insertstudent(Students students) {
		// TODO Auto-generated method stub
		return studentManageMapper.insertstudent(students);
	}

	@Override
	public List<Students> findStudents(StudentsVO studentsVO) {
		// TODO Auto-generated method stub
		return studentManageMapper.findStudents(studentsVO);
	}

	@Override
	public int getCountStudents(StudentsVO studentsVO) {
		// TODO Auto-generated method stub
		return studentManageMapper.getCountStudents(studentsVO);
	}

	

}
